package com.i7time.service;

import com.i7time.entity.Gift;

import java.util.List;

/**
 * 礼物接口
 * Created by pengweiyuan on 6/7/16.
 */
public interface GiftService {
    /**
     * 自定义礼物
     * @param userId 用户ID
     * @param giftCode 礼物的code
     * @param giftName 礼物
     * @param worth
     * @param experience
     * @return
     */
    boolean createCustomGifts(long userId,String giftCode,String giftName,int worth,int experience);

    /**
     * 获取自定义的礼物
     * @param userId
     * @return
     */
    List<Gift>getUserCustomGifts(long userId);

    /**
     * 获得普通的礼物
     * @return
     */
    List<Gift>getNormalGifts();

    /**
     *
     * @param userId
     * @param customerGiftId
     * @return
     */
    boolean deleteCustomerGift(long userId,long customerGiftId);

}
